﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using Lib;
using Persistance.Model;
using NHibernate;


public partial class _Default : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        ISession session = Persistor.CurrentSession;

        ApplicationLog al = new ApplicationLog();
        Categories category = new Categories();
        Items item = new Items();
        ItemType type = new ItemType();
        Locations location = new Locations();
        LogEntryType entryType = new LogEntryType();
        Photos image = new Photos();
        Requests request = new Requests();
        Status status = new Status();
        Users user = new Users();

        /*
         * application log should have an error message
         * what are types? 
         * why is there an item in the status table?
         * i am assuming we dont take care of passwords and stuff for the user. and should we split there name to first name and last name?
         */
        //item.ItemID=1;
        //item.ItemType = "request";
        //session.Save(item);
         

        
    }
}
